using System;

namespace XDIbuttonMapper
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main(string[] args)
        {
            Form1 frm = new Form1();
            XDIMapper game = new XDIMapper(frm.getDrawSurface());
            game.ContentLoaded += frm.GameActivated;
            frm.game = game;
            frm.Show();
            game.Run();
            
        }
    }
}

